Method: Mongoose::LinearSearch#<=

Defined in:
lib/mongoose/linear_search.rb

#<=(other) ⇒ Object



70
71
72
73
74
75
76
77
78
# File 'lib/mongoose/linear_search.rb', line 70

def <=(other)
  return search_table do |table_value|
    if table_value.nil? 
      false
    else
      table_value <= other 
    end
  end
end